/* 
 * File:   main.c
 * Author: otavio
 *
 * Created on April 21, 2011, 1:10 AM
 */

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>

/*
 * 
 */
//Porta udp padrão udilizada pelo programa
#define UDP_DOOR 64000
char *client_ip, *server_ip, buffer[1250];

int main(int argc, char** argv) {

    //If it's a client!
    if(argc == 5)
    {
        create_list(argv[4]);
        print_list();
    }
    //If it's a server
    else if (argc == 3)
    {
    }
    else
    {
        printf("Erro: parâmetros inválidos.");
        return(EXIT_FAILURE);
    }

    return (EXIT_SUCCESS);
}

